/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package Traceability.impl;

import Traceability.Block;
import Traceability.TraceabilityPackage;

import org.eclipse.emf.common.notify.Notification;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.EObjectImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Block</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link Traceability.impl.BlockImpl#getFileName <em>File Name</em>}</li>
 *   <li>{@link Traceability.impl.BlockImpl#getStartLine <em>Start Line</em>}</li>
 *   <li>{@link Traceability.impl.BlockImpl#getEndLine <em>End Line</em>}</li>
 *   <li>{@link Traceability.impl.BlockImpl#getStartRow <em>Start Row</em>}</li>
 *   <li>{@link Traceability.impl.BlockImpl#getEndRow <em>End Row</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class BlockImpl extends CDOObjectImpl implements Block {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected BlockImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return TraceabilityPackage.Literals.BLOCK;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getFileName() {
		return (String)eGet(TraceabilityPackage.Literals.BLOCK__FILE_NAME, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setFileName(String newFileName) {
		eSet(TraceabilityPackage.Literals.BLOCK__FILE_NAME, newFileName);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getStartLine() {
		return (Integer)eGet(TraceabilityPackage.Literals.BLOCK__START_LINE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setStartLine(int newStartLine) {
		eSet(TraceabilityPackage.Literals.BLOCK__START_LINE, newStartLine);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getEndLine() {
		return (Integer)eGet(TraceabilityPackage.Literals.BLOCK__END_LINE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEndLine(int newEndLine) {
		eSet(TraceabilityPackage.Literals.BLOCK__END_LINE, newEndLine);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getStartRow() {
		return (Integer)eGet(TraceabilityPackage.Literals.BLOCK__START_ROW, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setStartRow(int newStartRow) {
		eSet(TraceabilityPackage.Literals.BLOCK__START_ROW, newStartRow);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getEndRow() {
		return (Integer)eGet(TraceabilityPackage.Literals.BLOCK__END_ROW, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setEndRow(int newEndRow) {
		eSet(TraceabilityPackage.Literals.BLOCK__END_ROW, newEndRow);
	}

} //BlockImpl
